
/*
 * Copyright (C) 2010 Bitglue. All rights reserved.
 *
 * $Id: Container.java bself $
 */

package com.bitglue.osgi;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Container starts up the OSGi patchwork container which
 * subsequntially relies on spring dynamic modules to construct
 * the patchwork OSGi application server.
 * @author Bryan Patrick Self
 */
public final class Container {

    private static final String CONTEXT = "classpath:eclipse-spring.xml";

    private Container() {
    }

    public static void main(String... args) throws Exception {
        System.setProperty("org.eclipse.jetty.util.log.IGNORED", "false");
        new ClassPathXmlApplicationContext(CONTEXT);
    }

}
